//Allow player to respawn with his loadout? If true unit will respawn with all ammo from initial save! Set to false to disable this and rely on other scripts!
vas_onRespawn = (!(isNil "VAS_withLoadOnRespawn") && {(VAS_withLoadOnRespawn == 1)});

// The code needed to initialize the box.. really simple in our case :)
VAS_fnc_FillAmmoBox = compileFinal preProcessFileLineNumbers "tmf\support\modules\tonic_vas\fillAmmoBox.sqf";

private ["_unique_id"];
if !(isNil "ioc_fnc_handlerAdd") then {
	_unique_id = ["MSO","FillAmmoBox","VAS_fnc_FillAmmoBox"] call ioc_fnc_handlerAdd;
	//diag_log ["VAS FillBox Unique ID",_unique_id];
};

["FILL_AMMOBOX",VAS_fnc_FillAmmoBox] call tyr_fnc_addhandler;